//
//  WPXMPPTools.h
//  WeChat
//
//  Created by wpapple on 16/6/14.
//  Copyright © 2016年 红红火火恍恍惚惚嘿嘿嘿. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "XMPPFramework.h"

typedef enum {
    XMPPLoginSuccess,
    XMPPLoginFailure,
    XMPPNetError,
    XMPPRegisterSuccess,
    XMPPRegisterFailure
}XMPPState;

typedef void (^XMPPStateBlock)(XMPPState state);



@interface WPXMPPTools : NSObject

singleton_interface(WPXMPPTools)

@property(nonatomic,strong) XMPPvCardTempModule *vCardModule;

-(void)xmppLogin:(XMPPStateBlock)stateBlock;
-(void)goOffline;

@end
